home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2004 #11
/
Amiga Plus CD - 2004 - No. 11.iso
/
AmiSoft
/
Game
/
misc
/
WormWars.lha
/
WormWars
/
Install
next >
Wrap
Text File
|
2004-08-22
|
3KB
|
143 lines
; $VER: Worm Wars 8.0 (19.8.2004)
; Installer script for Worm Wars
; © Copyright 2004 Amigan Software
; Required: Installer 42.9+. Recommended: Installer 44+.
(set @app-name ("Worm Wars 8"))
(welcome "Welcome to the Worm Wars 8 installation script!")
(if (>= @installer-version 44)
(effect "center" "radial" $FFFF00 $0000FF)
)
(complete 0)
(set #new_dir
(askdir
(prompt "Where do you want to install Worm Wars 8?\n"
"A drawer called \"WormWars\" will be created.\n")
(default "Work:")
(help @askdir-help)
)
)
(set @default-dest (tackon #new_dir "WormWars"))
(makedir @default-dest (infos))
(complete 5)
(set #dest-parent (tackon "/" #new_dir))
(copyfiles
(source "/WormWars.info")
(dest #dest-parent)
)
;PROGRAM------------------------------------------------------------------
(complete 5)
(copyfiles
(source "WormWars")
(dest @default-dest)
(infos)
)
;DOCUMENTATION------------------------------------------------------------
(complete 15)
(copyfiles
(source "WormWars.guide")
(dest @default-dest)
(infos)
)
;SOUND EFFECTS------------------------------------------------------------
(complete 25)
(set #dir-fx (tackon @default-dest "fx"))
(makedir #dir-fx)
(copyfiles
(source "fx")
(pattern "#?")
(dest #dir-fx)
)
;MUSIC--------------------------------------------------------------------
(complete 40)
(set #dir-music (tackon @default-dest "music"))
(makedir #dir-music)
(copyfiles
(source "music")
(pattern "#?")
(dest #dir-music)
)
;LEVELSETS----------------------------------------------------------------
(complete 50)
(copyfiles
(pattern "#?.lset")
(dest @default-dest)
(infos)
)
;LIBRARIES----------------------------------------------------------------
(complete 55)
(copylib
(prompt "Installing MEDPlayer.library to LIBS:")
(help "Worm Wars can use this to play MED songs.");
(source "MEDPlayer.library")
(dest "LIBS:")
(confirm)
)
;FONT---------------------------------------------------------------------
(complete 60)
(set #fontchoice
(askchoice
(prompt "Would you like to install WormWars.font?")
(help "Worm Wars can use this 8x8 monospaced font rather than Topaz 8.")
(choices "Yes" "No")
(default 0)
) )
(if (= #fontchoice 0)
( (copyfiles
(source "Fonts/WormWars.font")
(dest "FONTS:")
)
(complete 65)
(makedir ("FONTS:WormWars"))
(complete 70)
(copyfiles
(source "Fonts/WormWars/8")
(dest "FONTS:WormWars")
) ) )
;SOURCE CODE--------------------------------------------------------------
(complete 75)
(set #guruchoice
(askchoice
(prompt "Are you interested in the source code?")
(choices "Yes" "No")
(default 1)
(help @askchoice-help)
)
)
(if (= #guruchoice 0)
( (set #dir-source (tackon @default-dest "Source"))
(makedir #dir-source)
(complete 80)
(copyfiles
(prompt "Copying source code...")
(source "Source")
(pattern "#?")
(help @copyfiles-help)
(dest #dir-source)
(all)
(infos)
)
))
(complete 100)
(exit bye)